package com.foreknow.hospital.dao;

import com.foreknow.hospital.po.Hospital;

import java.sql.SQLException;
import java.util.List;

public interface HospitalDao {
    /**
     * 根据点餐分类编号查询所属商家信息
     *
     * @param orderTypeId
     * @return List
     */
    public List<Hospital> listHospitalByOrderTypeId(int orderTypeId) throws SQLException;

    /**
     * 根据商家编号查询商家信息
     *
     * @param HpId
     * @return
     * @throws SQLException
     */
    public Hospital getHospitalById(int HpId) throws SQLException;

}
